package com.pig4cloud.mall.product.dto;

import lombok.Data;

import java.util.List;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/11/27 11:03 上午
 */
@Data
public class CidTree {
	private String label;
	private Long value;
	private Long pid;
	private Integer level;
	private List<CidTree> children;

	public void add(CidTree node) {
		children.add(node);
	}
}
